<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2018/9/6
  Time: 11:11
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<script src="http://libs.baidu.com/jquery/2.0.0/jquery.min.js"></script>
<html>
<head>
    <title>Title</title>
</head>
<body>
    <from action="/down" method="post" id="down">
        <table>
            <tr>
                <td>1</td>
                <td>2</td>
                <td>3</td>
                <td>4</td>
                <td>5</td>
            </tr>
        </table>
    </from>
</body>

<script>
    var data = $("#down").serializeObject();//表单变为json格式字符串
    //没有form表单的可以自己认为创建一个json字符串
    //var data = jQuery.parseJSON('{"FPHM":null,"FDBH":null}');
    data["FPHM"]=FPHMs;//页面的查询条件，将data传递到后台
    data["FDBH"]=_FDBH;
    $.ajax({
        beforeSend: function(xhr){
            xhr.setRequestHeader('Authorization', 'Bearer ' + $.session.get("token"));
        },
        url: "",//你的url
        type: "post",
        contentType: 'application/json;charset=utf-8',
        dataType: "json",
        data: JSON.stringify(data),//传递格式为json格式
        success: function(data){
            $.messager.alert("提示","成功"+data,"info");
        },
        async: true,
        error: function(er) {}
    });
</script>

</html>
